<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>报刊管理系统</title>
    <link rel="stylesheet" type="text/css" href="/css/login.css"/>

</head>
<body>
<div id="login_frame">
    <p id="registerText">报刊管理系统</p>
    <form method="post" action="loginContorller/login" enctype="multipart/form-data">
        <p><label class="label_input">账号</label><input type="text" id="acNumber" name="acNumber" value="${acnumber }"
                                                       class="text_field"/></p>
        <p><label class="label_input">密码</label><input type="password" id="password" name="userPwd" value="${userPwd }"
                                                       class="text_field"/></p>
        <p><input required="required" type="radio" name="identity" value="user">用户登录
            <input required="required" type="radio" name="identity" value="admin">管理员登录</p>
        <div id="login_control">
            <input type="submit" id="btn_login" value="登录" name="loginButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
            <a id="btn_register" href="register.jsp">注册</a>

            <div style="color:#990033;font-size: 14px;margin-top:10px">${errorInfo }</div>
        </div>
    </form>
</div>
</body>
</html>